<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>插件设置 - 清空存储数据</title>
    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            color: #333;
        }
        h1 {
            color: #4285f4;
            font-size: 24px;
            margin-bottom: 20px;
        }
        .container {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        button {
            background-color: #dc3545;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }
        button:hover {
            background-color: #c82333;
        }
        button:disabled {
            background-color: #6c757d;
            cursor: not-allowed;
        }
        .status {
            margin-top: 15px;
            padding: 10px;
            border-radius: 4px;
            display: none;
        }
        .success {
            background-color: #d4edda;
            color: #155724;
            display: block;
        }
        .error {
            background-color: #f8d7da;
            color: #721c24;
            display: block;
        }
        .warning {
            background-color: #fff3cd;
            color: #856404;
            display: block;
        }
        .confirmation {
            margin: 15px 0;
            padding: 10px;
            background-color: #e2e3e5;
            border-radius: 4px;
        }
        .confirmation input {
            margin-right: 10px;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>插件存储数据管理</h1>
        
        <div class="confirmation">
            <input type="checkbox" id="confirmCheckbox">
            <label for="confirmCheckbox">我确认要清空所有本地存储数据，此操作不可撤销</label>
        </div>
        
        <button id="clearStorageBtn" disabled>清空本地存储数据</button>
        
        <div id="statusMessage" class="status"></div>
    </div>

    <script src=".\options.js"></script>
</body>
</html>